package cn.iocoder.yudao.module.pay.controller.admin.packageorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 套餐订单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PackageOrderRespVO {

    @Schema(description = "套餐订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26244")
    @ExcelProperty("套餐订单编号")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31217")
    @ExcelProperty("用户编号")
    private Long userId;

    @Schema(description = "用户昵称", example = "张三")
    @ExcelProperty("用户昵称")
    private String nickname;

    @Schema(description = "套餐编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20577")
    @ExcelProperty("套餐编号")
    private Long packageId;

    @Schema(description = "套餐名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("套餐名称")
    private String packageName;

    @Schema(description = "价格，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "4281")
    @ExcelProperty("价格，单位：分")
    private Integer price;

    @Schema(description = "是否已支付：[0:未支付 1:已经支付过]", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("是否已支付：[0:未支付 1:已经支付过]")
    private Boolean payStatus;

    @Schema(description = "支付订单编号", example = "16062")
    @ExcelProperty("支付订单编号")
    private Long payOrderId;

    @Schema(description = "支付成功的支付渠道")
    @ExcelProperty("支付成功的支付渠道")
    private String payChannelCode;

    @Schema(description = "订单支付时间")
    @ExcelProperty("订单支付时间")
    private LocalDateTime payTime;

    @Schema(description = "退款订单编号", example = "24770")
    @ExcelProperty("退款订单编号")
    private Long payRefundId;

    @Schema(description = "退款金额，单位：分", requiredMode = Schema.RequiredMode.REQUIRED, example = "24683")
    @ExcelProperty("退款金额，单位：分")
    private Integer refundPrice;

    @Schema(description = "退款时间")
    @ExcelProperty("退款时间")
    private LocalDateTime refundTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}